$(function () {
    $.menuSelector('#system_role');

    var $dt = Ifonly.DataTable({
        ajax: {
            url: g.ctx + '/system/role/dt',
            data: function (d) {
                d['aaa'] = 'aaa';
            }
        },
        ordering: true,
        "order": [
            [0, null] //第一列排序图标改为默认
        ],
        "columns": [
            Ifonly.DTKit.auto,
            {"data": "name", "orderable": true},
            {"data": "remark", "orderable": true},
            {
                "data": "id",
                "orderable": false,
                render: Ifonly.DTKit.render()
            }
        ]
    });
});